import React, { Component,Fragment } from 'react';
import HeaderD from '../components/dress_x/header_d_x'
import LocalD from '../components/dress_x/local_d_x'
import HotD from '../components/dress_x/hot_d_x'
import AllD from '../components/dress_x/all_d_x'
import GlassX from '../components/home/glass_x'
import '../styles/dress/dress_x.css'
class Dress_x extends Component {
    constructor(){
      super()
      this.state={
        flag_x:true
      }
    }
    componentDidMount(){
      setTimeout(()=>{
        this.setState({
          flag_x:false
        })
      },500)
    }
    render() {
      return (
       <Fragment>
           <HeaderD/>
           <LocalD/>
           <HotD/>
           <AllD/>
           <GlassX toglass={this.state.flag_x}/>
       </Fragment>
      );
    }
  }
  export default Dress_x